package com.cashmama.market.api.application.controller.user.request;

import com.fqgj.common.api.ParamsObject;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2019-12-23 10:49
 **/
public class UserVerifyCodeLoginRequest extends ParamsObject {

    @NotBlank(message = "phone number cannot be empty")
    private String mobile;

    @NotBlank(message = "verifycode number cannot be empty")
    private String verifycode;

    public String getMobile() {
        return mobile;
    }

    public UserVerifyCodeLoginRequest setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getVerifycode() {
        return verifycode;
    }

    public UserVerifyCodeLoginRequest setVerifycode(String verifycode) {
        this.verifycode = verifycode;
        return this;
    }

    @Override
    public void validate() {

    }
}
